package com.atguigu.boot2.bean;

/**
 * @author 杨林
 * @create 2023-08-21 10:44 星期一
 * description:
 */
public class Pet {
    
    private Integer age;
    
    private String eat;

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getEat() {
        return eat;
    }

    public void setEat(String eat) {
        this.eat = eat;
    }

    public Pet() {
    }

    public Pet(Integer age, String eat) {
        this.age = age;
        this.eat = eat;
    }


    @Override
    public String toString() {
        return "Pet{" +
                "age=" + age +
                ", eat='" + eat + '\'' +
                '}';
    }
}
